package com.example.demo.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by jinmingjiang on 2017/9/12.
 */
@RestController
@RequestMapping("/")
public class IndexController {

    @GetMapping
    public String hello(){
        return "hello ~~~";
    }
}
